import 'package:oramemo/generated/json/base/json_field.dart';
import 'package:oramemo/generated/json/custom_model_list_entity.g.dart';
import 'dart:convert';
export 'package:oramemo/generated/json/custom_model_list_entity.g.dart';

@JsonSerializable()
class CustomModelListEntity {
	int? total;
	List<CustomModelListRows>? rows;
	int? code;
	String? msg;

	CustomModelListEntity();

	factory CustomModelListEntity.fromJson(Map<String, dynamic> json) => $CustomModelListEntityFromJson(json);

	Map<String, dynamic> toJson() => $CustomModelListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class CustomModelListRows {
	String? createTime;
	CustomModelListRowsParams? params;
	String? id;
	String? modelName;
	String? modelConfig;
	String? deviceId;

	CustomModelListRows();

	factory CustomModelListRows.fromJson(Map<String, dynamic> json) => $CustomModelListRowsFromJson(json);

	Map<String, dynamic> toJson() => $CustomModelListRowsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class CustomModelListRowsParams {


	CustomModelListRowsParams();

	factory CustomModelListRowsParams.fromJson(Map<String, dynamic> json) => $CustomModelListRowsParamsFromJson(json);

	Map<String, dynamic> toJson() => $CustomModelListRowsParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}